/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gt.entity.GtPost;
import com.thinkgem.jeesite.modules.gt.dao.GtPostDao;

/**
 * 护林员岗位信息Service
 * @author zad
 * @version 2018-03-26
 */
@Service
@Transactional(readOnly = true)
public class GtPostService extends CrudService<GtPostDao, GtPost> {

	public GtPost get(String id) {
		return super.get(id);
	}
	
	public List<GtPost> findList(GtPost gtPost) {
		return super.findList(gtPost);
	}
	
	public Page<GtPost> findPage(Page<GtPost> page, GtPost gtPost) {
		return super.findPage(page, gtPost);
	}
	
	@Transactional(readOnly = false)
	public void save(GtPost gtPost) {
		super.save(gtPost);
	}
	
	@Transactional(readOnly = false)
	public void delete(GtPost gtPost) {
		super.delete(gtPost);
	}
	
}